/**
 * Created by Administrator on 2016/7/29.
 */
"use strict";
swan_pc
    .controller("MessageController",function($scope,$state){
        $scope.currentMessageState=2;
        $scope.messageStateChange=function(option){
            $scope.currentMessageState=option;
            if(option==2){
                //console.log("stateChange is Run")
                $state.go("messagePersonalList");
            }else if(option==1){
                $state.go("addmessage");
            }
        }
    })
